package com.party.admin.web.dto.output.coupon;

import com.party.common.annotation.ExcelField;

import java.util.Date;

/**
 * @author：yifeng
 * @description： 核销码导出实体
 * @date：Created in  2018/01/17 15:29
 **/
public class CouponCodeExport {
    // 核销码
    private String verifyCode;
    // 是否领取 1：领取 2：未领取
    private String isUsed;
    // 票id
    private String couponId;
    // 是否消费（1：是 2：否）
    private String isSpending;
    // 消费日期
    private Date spendingTime;

    @ExcelField(title = "核销码", align = 2, sort = 1)
    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }

    @ExcelField(title = "是否使用", align = 2, sort = 2)
    public String getIsUsed() {
        return isUsed;
    }

    public void setIsUsed(String isUsed) {
        this.isUsed = isUsed;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    @ExcelField(title = "是否消费", align = 2, sort = 3)
    public String getIsSpending() {
        return isSpending;
    }

    public void setIsSpending(String isSpending) {
        this.isSpending = isSpending;
    }

    @ExcelField(title = "消费日期", align = 2, sort = 4)
    public Date getSpendingTime() {
        return spendingTime;
    }

    public void setSpendingTime(Date spendingTime) {
        this.spendingTime = spendingTime;
    }
}
